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 X509CertificateChainfindPrivateKeyChain(Set<Object> publicCredentials) static StringgetChain()getKey()booleanisProxy()voidsetChain(X509Certificate[] chain) voidsetCsrString(String csrString) voidsetExpiryDate(Date expiryDate) voidsetHashKey(String hashKey) voidsetKey(PrivateKey key) voidsetPrincipal(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
-