Package org.wildfly.security.x500
Class TrustedAuthority.IssuerKeyHashTrustedAuthority
- java.lang.Object
-
- org.wildfly.security.x500.TrustedAuthority
-
- org.wildfly.security.x500.TrustedAuthority.HashTrustedAuthority
-
- org.wildfly.security.x500.TrustedAuthority.IssuerKeyHashTrustedAuthority
-
- All Implemented Interfaces:
ASN1Encodable
- Enclosing class:
- TrustedAuthority
public static final class TrustedAuthority.IssuerKeyHashTrustedAuthority extends TrustedAuthority.HashTrustedAuthority
A trusted authority that is identified by the hash of its public key.- Author:
- Farah Juma
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.wildfly.security.x500.TrustedAuthority
TrustedAuthority.CertificateTrustedAuthority, TrustedAuthority.HashTrustedAuthority, TrustedAuthority.IssuerKeyHashTrustedAuthority, TrustedAuthority.IssuerNameHashTrustedAuthority, TrustedAuthority.NameTrustedAuthority, TrustedAuthority.PKCS15KeyHashTrustedAuthority
-
-
Field Summary
-
Fields inherited from class org.wildfly.security.x500.TrustedAuthority
AUTHORITY_CERTIFICATE, AUTHORITY_NAME, ISSUER_KEY_HASH, ISSUER_NAME_HASH, PKCS_15_KEY_HASH
-
-
Constructor Summary
Constructors Constructor Description IssuerKeyHashTrustedAuthority(byte[] hash)
Construct a new instance.IssuerKeyHashTrustedAuthority(String hash)
Construct a new instance.
-
Method Summary
-
Methods inherited from class org.wildfly.security.x500.TrustedAuthority.HashTrustedAuthority
encodeTo, getIdentifier
-
Methods inherited from class org.wildfly.security.x500.TrustedAuthority
getType
-
-
-
-
Constructor Detail
-
IssuerKeyHashTrustedAuthority
public IssuerKeyHashTrustedAuthority(byte[] hash)
Construct a new instance.- Parameters:
hash
- an octet string that contains the SHA-1 hash of this trusted authority's public key, as a byte array
-
IssuerKeyHashTrustedAuthority
public IssuerKeyHashTrustedAuthority(String hash)
Construct a new instance.- Parameters:
hash
- an octet string that contains the SHA-1 hash of this trusted authority's public key
-
-