Searched refs:der (Results 1 – 2 of 2) sorted by relevance
165 static PrivateKey loadDERPrivateKey(byte[] der) throws Exception { in loadDERPrivateKey() argument166 PKCS8EncodedKeySpec spec = decryptPrivateKey(der); in loadDERPrivateKey()169 spec = new PKCS8EncodedKeySpec(der); in loadDERPrivateKey()180 byte[] der = pemToDer(new String(pem)); in loadPEMPrivateKey()181 return loadDERPrivateKey(der); in loadPEMPrivateKey()192 static PublicKey loadDERPublicKey(byte[] der) throws Exception { in loadDERPublicKey() argument193 X509EncodedKeySpec publicKeySpec = new X509EncodedKeySpec(der); in loadDERPublicKey()199 byte[] der = pemToDer(new String(pem)); in loadPEMPublicKey()200 X509EncodedKeySpec publicKeySpec = new X509EncodedKeySpec(der); in loadPEMPublicKey()
99 public void addPublicKey(byte[] der) throws Exception { in addPublicKey() argument100 PublicKey pubkey = Utils.loadDERPublicKey(der); in addPublicKey()