public PrivateKey generatePrivate(PrivateKeyInfo keyInfo) throws IOException { return new BCXMSSPrivateKey(keyInfo); }
public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) throws IOException { return new BCXMSSPublicKey(keyInfo); } }
public BCXMSSMTPublicKey(SubjectPublicKeyInfo keyInfo) throws IOException { init(keyInfo); }
public String getTreeDigest() { return DigestUtil.getXMSSDigestName(treeDigest); }
protected boolean engineVerify(byte[] sigBytes) throws SignatureException { byte[] hash = DigestUtil.getDigestResult(digest); return signer.verifySignature(hash, sigBytes); }
protected void engineInitSign(PrivateKey privateKey, SecureRandom random) throws InvalidKeyException { this.random = random; engineInitSign(privateKey); }
public PrivateKey generatePrivate(PrivateKeyInfo keyInfo) throws IOException { return new BCXMSSMTPrivateKey(keyInfo); }
public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) throws IOException { return new BCXMSSMTPublicKey(keyInfo); } }
protected void engineInitSign(PrivateKey privateKey, SecureRandom random) throws InvalidKeyException { this.random = random; engineInitSign(privateKey); }
public BCXMSSPublicKey(SubjectPublicKeyInfo keyInfo) throws IOException { init(keyInfo); }
public BCXMSSPrivateKey(PrivateKeyInfo keyInfo) throws IOException { init(keyInfo); }
public BCXMSSMTPrivateKey(PrivateKeyInfo keyInfo) throws IOException { init(keyInfo); }
private void writeObject( ObjectOutputStream out) throws IOException { out.defaultWriteObject(); out.writeObject(this.getEncoded()); } }
private void writeObject( ObjectOutputStream out) throws IOException { out.defaultWriteObject(); out.writeObject(this.getEncoded()); } }
private void writeObject( ObjectOutputStream out) throws IOException { out.defaultWriteObject(); out.writeObject(this.getEncoded()); } }
private void writeObject( ObjectOutputStream out) throws IOException { out.defaultWriteObject(); out.writeObject(this.getEncoded()); } }
public String getTreeDigest() { return DigestUtil.getXMSSDigestName(treeDigest); }
protected boolean engineVerify(byte[] sigBytes) throws SignatureException { byte[] hash = DigestUtil.getDigestResult(digest); return signer.verifySignature(hash, sigBytes); }
public String getTreeDigest() { return DigestUtil.getXMSSDigestName(treeDigest); }
public String getTreeDigest() { return DigestUtil.getXMSSDigestName(treeDigest); }