Getting Caused by: org.bouncycastle.openssl.PEMException: problem parsing ENCRYPTED PRIVATE KEY: java.lang.IllegalArgumentException: unknown object in factory
Hello
Tried to connect to Box using API using Java and am getting the below exception.
Imported the cert and all the jars
Caused by: org.bouncycastle.openssl.PEMException: problem parsing ENCRYPTED PRIVATE KEY: java.lang.IllegalArgumentException: unknown object in factory
at org.bouncycastle.openssl.PEMParser$EncryptedPrivateKeyParser.parseObject(Unknown Source)
at org.bouncycastle.openssl.PEMParser.readObject(Unknown Source)
at com.box.sdk.BoxDeveloperEditionAPIConnection.decryptPrivateKey(BoxDeveloperEditionAPIConnection.java:539)
... 160 more
Caused by: java.lang.IllegalArgumentException: unknown object in factory
at org.bouncycastle.asn1.pkcs.EncryptedPrivateKeyInfo.getInstance(Unknown Source)
... 163 more
投稿コメントは受け付けていません。
コメント
0件のコメント