|
Oracle Security Developer Tools Security Engine Java API Reference 11g (11.1.1) E10674-02 |
||||||||
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.PKCS12SafeContentsBag
public class PKCS12SafeContentsBag
A PKCS #12 safe contents bag, which contains a sequence of PKCS12Bag
s.
Constructor Summary | |
---|---|
PKCS12SafeContentsBag() Creates a new empty instance. |
|
PKCS12SafeContentsBag(PKCS12Safe parent) |
|
PKCS12SafeContentsBag(PKCS12Safe parent, oracle.security.crypto.asn1.ASN1Sequence s) |
|
PKCS12SafeContentsBag(PKCS12Safe parent, java.io.InputStream is) |
|
PKCS12SafeContentsBag(PKCS12Safe parent, java.util.Vector bags) |
Method Summary | |
---|---|
void |
addBag(PKCS12Bag b) |
java.util.Vector |
getBags() Returns the sequence of PKCS12Bag s contained in this safeContents bag. |
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 |
setBags(java.util.Vector bags) Sets the sequence of PKCS12Bag s for this safeContents bag. |
java.lang.String |
toString() Returns a string representation of this object. |
Methods inherited from class oracle.security.crypto.cert.PKCS12Bag |
---|
getFriendlyName, getLocalKeyID, inputBag, outputAttrsASN1, readExternal, setFriendlyName, setLocalKeyID, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PKCS12SafeContentsBag()
public PKCS12SafeContentsBag(PKCS12Safe parent)
public PKCS12SafeContentsBag(PKCS12Safe parent, java.util.Vector bags)
public PKCS12SafeContentsBag(PKCS12Safe parent, java.io.InputStream is) throws java.io.IOException
java.io.IOException
public PKCS12SafeContentsBag(PKCS12Safe parent, oracle.security.crypto.asn1.ASN1Sequence s) throws java.io.IOException
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 java.util.Vector getBags()
PKCS12Bag
s contained in this safeContents
bag.PKCS12Bag
.public void setBags(java.util.Vector bags)
PKCS12Bag
s for this safeContents
bag.b
- A vector, each element of which must be an instance of PKCS12Bag
.public void addBag(PKCS12Bag b)
public java.lang.String toString()
toString
in class java.lang.Object
|
Oracle Security Developer Tools Security Engine Java API Reference 11g (11.1.1) E10674-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |