XML security classes / The CryptoX509 class |
Methods for the xml.CryptoX509 class.
Name | Description |
---|---|
xml.CryptoX509.Create() RETURNING object xml.CryptoX509 |
Constructor of an empty CryptoX509 object. |
xml.CryptoX509.CreateFromNode( node xml.DomNode ) RETURNING object xml.CryptoX509 |
Constructor of a new CryptoX509 object from a XML X509 certificate node, according to the XML-Signature specification |
Name | Description |
---|---|
getIdentifier() RETURNING idpart STRING |
Gets the identification part of an X509 certificate |
getThumbprintSHA1() RETURNING setp STRING |
Gets the SHA1 encoded thumbprint identifying this X509 certificate. |
Name | Description |
---|---|
createPublicKey( url STRING ) RETURNING object xml.CryptoX509 |
Creates a new public CryptoKey object for the given url, from the public key embedded in a certificate. |
Name | Description |
---|---|
load( xml xml.DomDocument ) |
Loads the given XML document with ds:X509Data as root node according to the XML-Signature specification, into the CryptoX509 object. |
loadDER( file STRING ) |
Loads a X509 certificate from a file in DER format. |
loadFromString( str STRING ) |
Loads the given X509 certificate in BASE64 string format into this CryptoX509 object. |
loadPEM( file STRING ) |
Loads a X509 certificate from a file in PEM format. |
save() RETURNING object xml.DomDocument |
Saves the CryptoX509 certificate into a XML document with ds:X509Data as root node according to the XML-Signature specification. |
saveToString() RETURNING cert STRING |
Saves the CryptoX509 certificate into a BASE64 string format. |
Name | Description |
---|---|
getFeature( feature STRING ) RETURNING value STRING |
Get the value of a given feature of a CryptoX509 object. |
setFeature( feature STRING, value STRING ) |
Sets or resets the given feature for this CryptoX509 object. |