Partager via


X509Name Class

  • java.lang.Object
    • system.fabric.X509Name

public class X509Name

A type to identify X509 certificate with subject common name or DNS name.

Constructor Summary

Constructor Description
X509Name(String name, String issuerCertThumbprint)

Instantiates an system.fabric.X509Name object that identifies an X509 certificate

Method Summary

Modifier and Type Method and Description
boolean equals(Object obj)

Determines whether the specified object is equal to the current object

String getIssuerCertThumbprint()

Gets the certificate thumbprint to identify issuer

String getName()

Gets the subject common name or DNS name of X509 certificate

int hashCode()

Compute hash code

Constructor Details

X509Name

public X509Name(String name, String issuerCertThumbprint)

Instantiates an system.fabric.X509Name object that identifies an X509 certificate

Parameters:

name - Subject common name or DNS name of X509 certificate.
issuerCertThumbprint - Certificate thumbprint to identify issuer.

Method Details

equals

public boolean equals(Object obj)

Determines whether the specified object is equal to the current object

Parameters:

obj - The object to compare with the current object

Returns:

Returns true if the objects are equal, false otherwise.

getIssuerCertThumbprint

public String getIssuerCertThumbprint()

Gets the certificate thumbprint to identify issuer

Returns:

Certificate thumbprint to identify issuer

getName

public String getName()

Gets the subject common name or DNS name of X509 certificate

Returns:

Subject common name or DNS name of X509 certificate

hashCode

public int hashCode()

Compute hash code

Returns:

returns Integer representing the hash code.

Applies to