This class encapsulates information about a code signer. It is immutable.
This class encapsulates information about a code signer. It is immutable.
(->code-signer signer-cert-path timestamp)
Constructor.
Constructs a CodeSigner object.
signer-cert-path - The signer's certificate path. It must not be null. - java.security.cert.CertPath
timestamp - A signature timestamp. If null then no timestamp was generated for the signature. - java.security.Timestamp
throws: java.lang.NullPointerException - if signerCertPath is null.
Constructor. Constructs a CodeSigner object. signer-cert-path - The signer's certificate path. It must not be null. - `java.security.cert.CertPath` timestamp - A signature timestamp. If null then no timestamp was generated for the signature. - `java.security.Timestamp` throws: java.lang.NullPointerException - if signerCertPath is null.
(equals this obj)
Tests for equality between the specified object and this code signer. Two code signers are considered equal if their signer certificate paths are equal and if their timestamps are equal, if present in both.
obj - the object to test for equality with this object. - java.lang.Object
returns: true if the objects are considered equal, false otherwise. - boolean
Tests for equality between the specified object and this code signer. Two code signers are considered equal if their signer certificate paths are equal and if their timestamps are equal, if present in both. obj - the object to test for equality with this object. - `java.lang.Object` returns: true if the objects are considered equal, false otherwise. - `boolean`
(get-signer-cert-path this)
Returns the signer's certificate path.
returns: A certificate path. - java.security.cert.CertPath
Returns the signer's certificate path. returns: A certificate path. - `java.security.cert.CertPath`
(get-timestamp this)
Returns the signature timestamp.
returns: The timestamp or null if none is present. - java.security.Timestamp
Returns the signature timestamp. returns: The timestamp or null if none is present. - `java.security.Timestamp`
(hash-code this)
Returns the hash code value for this code signer. The hash code is generated using the signer's certificate path and the timestamp, if present.
returns: a hash code value for this code signer. - int
Returns the hash code value for this code signer. The hash code is generated using the signer's certificate path and the timestamp, if present. returns: a hash code value for this code signer. - `int`
(to-string this)
Returns a string describing this code signer.
returns: A string comprising the signer's certificate and a timestamp,
if present. - java.lang.String
Returns a string describing this code signer. returns: A string comprising the signer's certificate and a timestamp, if present. - `java.lang.String`
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |