Class MyX509Proxy
- java.lang.Object
-
- org.oa4mp.delegation.common.token.MyX509Certificates
-
- org.oa4mp.delegation.common.impl.token.MyX509Proxy
-
- All Implemented Interfaces:
ProtectedAsset
,Serializable
public class MyX509Proxy extends MyX509Certificates
A proxy extension class capable of storing the private key as well next to the certificatesCreated by Tamas Balogh
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected PrivateKey
proxyKey
-
Fields inherited from class edu.uiuc.ncsa.oa4mp.delegation.common.token.MyX509Certificates
x509Certificates
-
-
Constructor Summary
Constructors Constructor Description MyX509Proxy(MyX509Certificates certs, PrivateKey key)
MyX509Proxy(X509Certificate[] certs, PrivateKey key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrivateKey
getProxyKey()
String
getX509ProxyPEM()
Return the Proxy Certificate complete with.-
Methods inherited from class edu.uiuc.ncsa.oa4mp.delegation.common.token.MyX509Certificates
getX509Certificates, getX509CertificatesPEM, setX509Certificates, toString
-
-
-
-
Field Detail
-
proxyKey
protected PrivateKey proxyKey
-
-
Constructor Detail
-
MyX509Proxy
public MyX509Proxy(MyX509Certificates certs, PrivateKey key)
-
MyX509Proxy
public MyX509Proxy(X509Certificate[] certs, PrivateKey key)
-
-
Method Detail
-
getProxyKey
public PrivateKey getProxyKey()
-
getX509ProxyPEM
public String getX509ProxyPEM() throws CertificateEncodingException
Return the Proxy Certificate complete with. This method will include the proxy Private Key into the second place in the PEM formatted certificate chain- Returns:
- the Proxy Certificate in PEM format
- Throws:
CertificateEncodingException
- In case the certificate data is corrupt
-
-