Package org.wildfly.security.x500
Class TrustedAuthority.IssuerNameHashTrustedAuthority
- java.lang.Object
-
- org.wildfly.security.x500.TrustedAuthority
-
- org.wildfly.security.x500.TrustedAuthority.HashTrustedAuthority
-
- org.wildfly.security.x500.TrustedAuthority.IssuerNameHashTrustedAuthority
-
- All Implemented Interfaces:
ASN1Encodable
- Enclosing class:
- TrustedAuthority
public static final class TrustedAuthority.IssuerNameHashTrustedAuthority extends TrustedAuthority.HashTrustedAuthority
A trusted authority that is identified by the hash of its name.- 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 IssuerNameHashTrustedAuthority(byte[] hash)
Construct a new instance.IssuerNameHashTrustedAuthority(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
-
IssuerNameHashTrustedAuthority
public IssuerNameHashTrustedAuthority(byte[] hash)
Construct a new instance.- Parameters:
hash
- an octet string that contains the SHA-1 hash of the DER encoding of the subject name from this trusted authority's certificate, as a byte array
-
IssuerNameHashTrustedAuthority
public IssuerNameHashTrustedAuthority(String hash)
Construct a new instance.- Parameters:
hash
- an octet string that contains the SHA-1 hash of the DER encoding of the subject name from this trusted authority's certificate
-
-