SecurityProviderX509Cert Class

public class SecurityProviderX509Cert extends SecurityProviderX509

Constructor Summary

Constructor Description
SecurityProviderX509Cert(X509Certificate leafCertificatePublic, Key leafPrivateKey, Collection<X509Certificate> signerCertificates)

Constructor to build the DICE certs from the simulator

Method Summary

Modifier and Type Method and Description
X509Certificate getClientCertificate()

Getter for the Alias certificate

String getClientCertificateCommonName()

Getter for the common name

Key getClientPrivateKey()

Getter for Alias key

Collection<X509Certificate> getIntermediateCertificatesChain()

Getter for the signer cert

Inherited Members

Constructor Details

SecurityProviderX509Cert

public SecurityProviderX509Cert(X509Certificate leafCertificatePublic, Key leafPrivateKey, Collection signerCertificates)

Constructor to build the DICE certs from the simulator

Parameters:

leafCertificatePublic
leafPrivateKey
signerCertificates

Method Details

getClientCertificate

public X509Certificate getClientCertificate()

Getter for the Alias certificate

Returns:

Alias certificate

getClientCertificateCommonName

public String getClientCertificateCommonName()

Getter for the common name

Returns:

The common name for the root cert

getClientPrivateKey

public Key getClientPrivateKey()

Getter for Alias key

Returns:

Alias private key

getIntermediateCertificatesChain

public Collection getIntermediateCertificatesChain()

Getter for the signer cert

Returns:

Signer cert

Applies to