use of org.bouncycastle.jcajce.provider.asymmetric.util.PKCS12BagAttributeCarrierImpl in project robovm by robovm.
the class JCERSAPrivateKey method readObject.
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
this.modulus = (BigInteger) in.readObject();
this.attrCarrier = new PKCS12BagAttributeCarrierImpl();
attrCarrier.readObject(in);
this.privateExponent = (BigInteger) in.readObject();
}
use of org.bouncycastle.jcajce.provider.asymmetric.util.PKCS12BagAttributeCarrierImpl in project robovm by robovm.
the class JDKDSAPrivateKey method readObject.
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
this.x = (BigInteger) in.readObject();
this.dsaSpec = new DSAParameterSpec((BigInteger) in.readObject(), (BigInteger) in.readObject(), (BigInteger) in.readObject());
this.attrCarrier = new PKCS12BagAttributeCarrierImpl();
attrCarrier.readObject(in);
}
use of org.bouncycastle.jcajce.provider.asymmetric.util.PKCS12BagAttributeCarrierImpl in project robovm by robovm.
the class BCECPrivateKey method readObject.
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
in.defaultReadObject();
byte[] enc = (byte[]) in.readObject();
populateFromPrivKeyInfo(PrivateKeyInfo.getInstance(ASN1Primitive.fromByteArray(enc)));
this.configuration = BouncyCastleProvider.CONFIGURATION;
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);
}
use of org.bouncycastle.jcajce.provider.asymmetric.util.PKCS12BagAttributeCarrierImpl in project robovm by robovm.
the class BCDSAPrivateKey method readObject.
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
in.defaultReadObject();
this.dsaSpec = new DSAParameterSpec((BigInteger) in.readObject(), (BigInteger) in.readObject(), (BigInteger) in.readObject());
this.attrCarrier = new PKCS12BagAttributeCarrierImpl();
}
Aggregations