|
Oracle Security Developer Tools Security Engine Java API Reference 10g (10.1.4.0.1) B28175-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.crypto.cert.PKCS12Bag
oracle.security.crypto.cert.PKCS12KeyBag
A PKCS #12 key bag for private keys.
Constructor Summary | |
PKCS12KeyBag(PKCS12Safe parent) |
|
PKCS12KeyBag(PKCS12Safe parent, oracle.security.crypto.asn1.ASN1Sequence s) |
|
PKCS12KeyBag(PKCS12Safe parent, java.io.InputStream is) |
|
PKCS12KeyBag(PKCS12Safe parent, oracle.security.crypto.core.PrivateKey key) |
Method Summary | |
oracle.security.crypto.core.PrivateKey |
getPrivateKey() |
oracle.security.crypto.asn1.ASN1Sequence |
getPrivateKeyInfo() |
void |
input(oracle.security.crypto.asn1.ASN1Sequence s) Reconstructs this object from its representation as an ASN.1 sequence. |
void |
input(java.io.InputStream is) Reconstructs this object by reading its DER encoding from the specified input stream. |
int |
length() Returns the length of this object's DER encoding. |
void |
output(java.io.OutputStream os) Outputs the DER encoding of this object to the specified output stream. |
void |
setPrivateKey(oracle.security.crypto.core.PrivateKey key) |
java.lang.String |
toString() Returns a string representation of this object. |
Methods inherited from class oracle.security.crypto.cert.PKCS12Bag |
getFriendlyName, getLocalKeyID, inputBag, outputAttrsASN1, setFriendlyName, setLocalKeyID |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PKCS12KeyBag(PKCS12Safe parent)
public PKCS12KeyBag(PKCS12Safe parent, oracle.security.crypto.core.PrivateKey key)
public PKCS12KeyBag(PKCS12Safe parent, java.io.InputStream is) throws java.io.IOException
public PKCS12KeyBag(PKCS12Safe parent, oracle.security.crypto.asn1.ASN1Sequence s) throws java.io.IOException
Method Detail |
public void input(java.io.InputStream is) throws java.io.IOException
is
- the input stream from which this object will be readjava.io.IOException
public void input(oracle.security.crypto.asn1.ASN1Sequence s) throws java.io.IOException
s
- the ASN.1 sequence representation of this objectjava.io.IOException
public void output(java.io.OutputStream os) throws java.io.IOException
os
- the output stream to which the object will be writtenjava.io.IOException
public int length()
public oracle.security.crypto.core.PrivateKey getPrivateKey()
public oracle.security.crypto.asn1.ASN1Sequence getPrivateKeyInfo()
public void setPrivateKey(oracle.security.crypto.core.PrivateKey key)
public java.lang.String toString()
|
Oracle Security Developer Tools Security Engine Java API Reference 10g (10.1.4.0.1) B28175-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |