Interface ResponderId
- All Known Implementing Classes:
ResponderId.ByKey, ResponderId.ByName
An OCSP
ResponderID (RFC 6960): the responder identity, either by name
or by key hash.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordResponder identified by the SHA-1 hash of its public key.static final recordResponder identified by its distinguished name. -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic ResponderIdbyKey(byte[] keyHash) Creates a key-hash-based responder id.static ResponderIdbyName(X500Principal name) Creates a name-based responder id.
-
Method Details
-
byName
Creates a name-based responder id.- Parameters:
name- the responder DN- Returns:
- the responder id
-
byKey
Creates a key-hash-based responder id.- Parameters:
keyHash- the responder key hash- Returns:
- the responder id
-