Package org.xipki.security
Class IssuerHash
- java.lang.Object
-
- org.xipki.security.IssuerHash
-
public class IssuerHash extends Object
Contains issuerNameHash and issuerKeyHash as specified in the OCSP standard RFC 6960.- Since:
- 2.0.0
- Author:
- Lijun Liao (xipki)
-
-
Constructor Summary
Constructors Constructor Description IssuerHash(HashAlgo hashAlgo, byte[] issuerNameHash, byte[] issuerKeyHash)IssuerHash(HashAlgo hashAlgo, X509Cert issuerCert)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HashAlgogetHashAlgo()byte[]getIssuerKeyHash()byte[]getIssuerNameHash()booleanmatch(HashAlgo hashAlgo, byte[] issuerNameHash, byte[] issuerKeyHash)
-
-
-
Constructor Detail
-
IssuerHash
public IssuerHash(HashAlgo hashAlgo, byte[] issuerNameHash, byte[] issuerKeyHash)
-
IssuerHash
public IssuerHash(HashAlgo hashAlgo, X509Cert issuerCert) throws IOException
- Throws:
IOException
-
-