use of org.bouncycastle.jcajce.provider.asymmetric.util.PKCS12BagAttributeCarrierImpl in project robovm by robovm.
the class BCRSAPrivateKey method readObject.
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
in.defaultReadObject();
this.attrCarrier = new PKCS12BagAttributeCarrierImpl();
}
use of org.bouncycastle.jcajce.provider.asymmetric.util.PKCS12BagAttributeCarrierImpl in project robovm by robovm.
the class JCEECPrivateKey method readObject.
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
byte[] enc = (byte[]) in.readObject();
populateFromPrivKeyInfo(PrivateKeyInfo.getInstance(ASN1Primitive.fromByteArray(enc)));
this.algorithm = (String) in.readObject();
this.withCompression = in.readBoolean();
this.attrCarrier = new PKCS12BagAttributeCarrierImpl();
attrCarrier.readObject(in);
}
Aggregations