codec.pkcs12
Class SecretBag
java.lang.Object
|
+--java.util.AbstractCollection
|
+--java.util.AbstractList
|
+--java.util.ArrayList
|
+--codec.asn1.ASN1AbstractCollection
|
+--codec.asn1.ASN1Sequence
|
+--codec.pkcs12.SecretBag
- All Implemented Interfaces:
- ASN1Collection, ASN1RegisteredType, ASN1Type, Cloneable, Collection, Externalizable, List, Serializable
- public class SecretBag
- extends ASN1Sequence
- implements ASN1RegisteredType, Serializable
This class represents a SecretBag as defined in PKCS#12.
The ASN.1 definition of this structure is
SecretBag ::= SEQUENCE {
secretTypeId BAG-TYPE.&id ({SecretTypes}),
secretValue [0] EXPLICIT BAG-TYPE.&Type ({SecretTypes}{@SecretId})
}
SecretTypes BAG-TYPE::={
... -- For future extensions
- Version:
- "$Id: SecretBag.java,v 1.4 2005/03/22 14:18:29 flautens Exp $"
- Author:
- Michele Boivin
- See Also:
- Serialized Form
| Methods inherited from class codec.asn1.ASN1AbstractCollection |
checkConstraints, decode, encode, getCollection, getConstraint, getTagClass, getValue, isExplicit, isOptional, isType, readExternal, setConstraint, setExplicit, setOptional, toString, writeExternal |
| Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize |
| Methods inherited from interface codec.asn1.ASN1Type |
checkConstraints, decode, encode, getConstraint, getTag, getTagClass, getValue, isExplicit, isOptional, isType, setConstraint, setExplicit, setOptional |
| Methods inherited from interface java.util.Collection |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
reg_
protected PKCS12OIDRegistry reg_
SecretBag
public SecretBag()
getOID
public ASN1ObjectIdentifier getOID()
- Returns the OID for this structure.
- Specified by:
getOID in interface ASN1RegisteredType
- Returns:
- the OID
getSecretOID
public ASN1ObjectIdentifier getSecretOID()
getSecretValue
public ASN1Type getSecretValue()
Copyright © Fraunhofer Gesellschaft. All Rights Reserved.