Package uk.ac.starlink.auth.ssl
Class X509CertificateChain
java.lang.Object
uk.ac.starlink.auth.ssl.X509CertificateChain
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionX509CertificateChain
(X509Certificate[] chain, PrivateKey key) X509CertificateChain
(X500Principal principal, PrivateKey privateKey, String csrString) -
Method Summary
Modifier and TypeMethodDescriptionstatic X509CertificateChain
findPrivateKeyChain
(Set<Object> publicCredentials) static String
getChain()
getKey()
boolean
isProxy()
void
setChain
(X509Certificate[] chain) void
setCsrString
(String csrString) void
setExpiryDate
(Date expiryDate) void
setHashKey
(String hashKey) void
setKey
(PrivateKey key) void
setPrincipal
(X500Principal principal)
-
Field Details
-
CERT_BEGIN
- See Also:
-
CERT_END
- See Also:
-
PRIVATE_KEY_BEGIN
- See Also:
-
PRIVATE_KEY_END
- See Also:
-
NEW_LINE
-
-
Constructor Details
-
X509CertificateChain
-
X509CertificateChain
-
X509CertificateChain
-
-
Method Details
-
findPrivateKeyChain
-
certificateString
-
genHashKey
- Parameters:
dn
- DN to generate the hash key- Returns:
- hash code corresponding to the CADC canonized version of the DN
-
setExpiryDate
- Parameters:
expiryDate
- the expiryDate to set
-
getExpiryDate
- Returns:
- the expiryDate
-
setCsrString
- Parameters:
csrString
- the csrString to set
-
getCsrString
- Returns:
- the csrString
-
getPrincipal
-
setPrincipal
-
getKey
-
setKey
-
setChain
-
setHashKey
- Parameters:
hashKey
- the hashKey to set
-
getHashKey
- Returns:
- the hashKey
-
getX500Principal
-
getChain
-
getPrivateKey
-
isProxy
public boolean isProxy() -
getEndEntity
-