Class IdentityDocumentSigner
java.lang.Object
com.yahoo.vespa.athenz.identityprovider.client.IdentityDocumentSigner
Generates and validates the signature for a
SignedIdentityDocument
- Author:
- bjorncs
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongenerateSignature
(VespaUniqueInstanceId providerUniqueId, AthenzService providerService, String configServerHostname, String instanceHostname, Instant createdAt, Set<String> ipAddresses, IdentityType identityType, PrivateKey privateKey, AthenzIdentity serviceIdentity) boolean
hasValidSignature
(SignedIdentityDocument doc, PublicKey publicKey)
-
Constructor Details
-
IdentityDocumentSigner
public IdentityDocumentSigner()
-
-
Method Details
-
generateSignature
public String generateSignature(VespaUniqueInstanceId providerUniqueId, AthenzService providerService, String configServerHostname, String instanceHostname, Instant createdAt, Set<String> ipAddresses, IdentityType identityType, PrivateKey privateKey, AthenzIdentity serviceIdentity) -
hasValidSignature
-