コード例 #1
0
ファイル: JCEECPrivateKey.java プロジェクト: Mackaber/sandrop
  private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
    byte[] enc = (byte[]) in.readObject();

    populateFromPrivKeyInfo(PrivateKeyInfo.getInstance(ASN1Object.fromByteArray(enc)));

    this.algorithm = (String) in.readObject();
    this.withCompression = in.readBoolean();
    this.attrCarrier = new PKCS12BagAttributeCarrierImpl();

    attrCarrier.readObject(in);
  }