_setJwk(jwkey){
    this._type = getJwkType(jwkey); // this also check key format
    this._jwk = jwkey;
    if(this._isEncrypted) this._der = null;
    this._isEncrypted = false;
    this._setCurrentStatus();
  }
// all instance variables must be set via these methods
all instance variables must be set via these methods
all instance variables must be set via these methods
_setJwk(jwkey){
    this._type = getJwkType(jwkey); 
    this._jwk = jwkey;
    if(this._isEncrypted) this._der = null;
    this._isEncrypted = false;
    this._setCurrentStatus();
  }
_setJwk ( jwkey ) { this . _type = getJwkType ( jwkey ) ; this . _jwk = jwkey ; if ( this . _isEncrypted ) this . _der = null ; this . _isEncrypted = false ; this . _setCurrentStatus ( ) ; }
all instance variables must be set via these methods
all instance variables must be set via these methods
// this also check key format