index.js
function loadKeyPairs () {
  var sig = AnvilConnectKeys.loadKeyPair(this.sig.pub, this.sig.prv, 'sig')
  var enc = AnvilConnectKeys.loadKeyPair(this.enc.pub, this.enc.prv, 'enc')

  var jwkKeys = []
  jwkKeys.push(sig.jwk.pub, enc.jwk.pub)

  return {
    sig: sig.pem,
    enc: enc.pem,
    jwks: {
      keys: jwkKeys
    }
  }
}
function loadKeyPairs () {
  var sig = AnvilConnectKeys.loadKeyPair(this.sig.pub, this.sig.prv, 'sig')
  var enc = AnvilConnectKeys.loadKeyPair(this.enc.pub, this.enc.prv, 'enc')

  var jwkKeys = []
  jwkKeys.push(sig.jwk.pub, enc.jwk.pub)

  return {
    sig: sig.pem,
    enc: enc.pem,
    jwks: {
      keys: jwkKeys
    }
  }
}
function loadKeyPairs ( ) { var sig = AnvilConnectKeys . loadKeyPair ( this . sig . pub , this . sig . prv , 'sig' ) var enc = AnvilConnectKeys . loadKeyPair ( this . enc . pub , this . enc . prv , 'enc' ) var jwkKeys = [ ] jwkKeys . push ( sig . jwk . pub , enc . jwk . pub ) return { sig : sig . pem , enc : enc . pem , jwks : { keys : jwkKeys } } }
Load key pairs
Load key pairs