com.azure.security.attestation.models.AttestationSigner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-security-attestation Show documentation
Show all versions of azure-security-attestation Show documentation
This package contains Microsoft Azure SDK for the Microsoft Azure Attestation service.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.security.attestation.models;
import java.security.cert.X509Certificate;
import java.util.List;
/**
* An AttestationSigner object represents an entity which might sign a certificate from the attestation
* service.
*/
public interface AttestationSigner {
/**
* Gets the Certificates associated with this signer.
*
* The Certificates is an X.509 certificate chain associated with a particular attestation signer.
*
* It corresponds to the `x5c` property on a JSON Web Key. See JsonWebKey RFC Section 4.7
* for more details.
*
* @return Certificate chain used to sign an attestation token.
*/
List getCertificates();
/**
* Gets the KeyId.
*
* The KeyId is matched with the "kid" property in a JsonWebSignature object. It corresponds
* to the kid property defined in JsonWebKey RFC section 4.5
*
* @return KeyId.
*/
String getKeyId();
/**
* Validate that the attestation signer is valid.
*/
void validate();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy