Deprecated. This class is no longer used. Its functionality has been replaced by java.security.KeyStore, the java.security.cert package, and java.security.Principal.
Deprecated. This class is no longer used. Its functionality has been replaced by java.security.KeyStore, the java.security.cert package, and java.security.Principal.
(->identity name)
(->identity name scope)
Constructor.
Deprecated.
name - the identity name. - java.lang.String
scope - the scope of the identity. - java.security.IdentityScope
throws: java.security.KeyManagementException - if there is already an identity with the same name in the scope.
Constructor. Deprecated. name - the identity name. - `java.lang.String` scope - the scope of the identity. - `java.security.IdentityScope` throws: java.security.KeyManagementException - if there is already an identity with the same name in the scope.
(add-certificate this certificate)
Deprecated.
certificate - the certificate to be added. - java.security.Certificate
throws: java.security.KeyManagementException - if the certificate is not valid, if the public key in the certificate being added conflicts with this identity's public key, or if another exception occurs.
Deprecated. certificate - the certificate to be added. - `java.security.Certificate` throws: java.security.KeyManagementException - if the certificate is not valid, if the public key in the certificate being added conflicts with this identity's public key, or if another exception occurs.
(certificates this)
Deprecated.
returns: a copy of all the certificates for this identity. - java.security.Certificate[]
Deprecated. returns: a copy of all the certificates for this identity. - `java.security.Certificate[]`
(equals this identity)
Deprecated.
identity - the object to test for equality with this identity. - java.lang.Object
returns: true if the objects are considered equal, false otherwise. - boolean
Deprecated. identity - the object to test for equality with this identity. - `java.lang.Object` returns: true if the objects are considered equal, false otherwise. - `boolean`
(get-info this)
Deprecated.
returns: general information about this identity. - java.lang.String
Deprecated. returns: general information about this identity. - `java.lang.String`
(get-name this)
Deprecated.
returns: the name of this identity. - java.lang.String
Deprecated. returns: the name of this identity. - `java.lang.String`
(get-public-key this)
Deprecated.
returns: the public key for this identity. - java.security.PublicKey
Deprecated. returns: the public key for this identity. - `java.security.PublicKey`
(get-scope this)
Deprecated.
returns: the scope of this identity. - java.security.IdentityScope
Deprecated. returns: the scope of this identity. - `java.security.IdentityScope`
(hash-code this)
Deprecated.
returns: a hashcode for this identity. - int
Deprecated. returns: a hashcode for this identity. - `int`
(remove-certificate this certificate)
Deprecated.
certificate - the certificate to be removed. - java.security.Certificate
throws: java.security.KeyManagementException - if the certificate is missing, or if another exception occurs.
Deprecated. certificate - the certificate to be removed. - `java.security.Certificate` throws: java.security.KeyManagementException - if the certificate is missing, or if another exception occurs.
(set-info this info)
Deprecated.
info - the information string. - java.lang.String
throws: java.lang.SecurityException - if a security manager exists and its checkSecurityAccess method doesn't allow setting the information string.
Deprecated. info - the information string. - `java.lang.String` throws: java.lang.SecurityException - if a security manager exists and its checkSecurityAccess method doesn't allow setting the information string.
(set-public-key this key)
Deprecated.
key - the public key for this identity. - java.security.PublicKey
throws: java.security.KeyManagementException - if another identity in the identity's scope has the same public key, or if another exception occurs.
Deprecated. key - the public key for this identity. - `java.security.PublicKey` throws: java.security.KeyManagementException - if another identity in the identity's scope has the same public key, or if another exception occurs.
(to-string this)
(to-string this detailed)
Deprecated.
detailed - whether or not to provide detailed information. - boolean
returns: information about this identity. If detailed
is true, then this method returns more information than that
provided by the toString method without any arguments. - java.lang.String
throws: java.lang.SecurityException - if a security manager exists and its checkSecurityAccess method doesn't allow returning a string describing this identity.
Deprecated. detailed - whether or not to provide detailed information. - `boolean` returns: information about this identity. If detailed is true, then this method returns more information than that provided by the toString method without any arguments. - `java.lang.String` throws: java.lang.SecurityException - if a security manager exists and its checkSecurityAccess method doesn't allow returning a string describing this identity.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close