codec.pkcs12
Class PKCS8ShroudedKeyBag
java.lang.Object
|
+--java.util.AbstractCollection
|
+--java.util.AbstractList
|
+--java.util.ArrayList
|
+--codec.asn1.ASN1AbstractCollection
|
+--codec.asn1.ASN1Sequence
|
+--codec.pkcs8.EncryptedPrivateKeyInfo
|
+--codec.pkcs12.PKCS8ShroudedKeyBag
- All Implemented Interfaces:
- ASN1Collection, ASN1RegisteredType, ASN1Type, Cloneable, Collection, Externalizable, List, Serializable
- public class PKCS8ShroudedKeyBag
- extends EncryptedPrivateKeyInfo
- implements ASN1RegisteredType, Serializable
This class represents a pkcs8ShroudedKeyBag as defined in PKCS#12.
The ASN.1 definition of this structure is
pkcs8ShroudedKeyBag ::= EncryptedPrivateKeyInfo
EncryptedprivateKeyInfo indicates encrypted private key
information as described in the PKCS#8 Standard for private keys. A
pkcs8ShroudedKeyBag can hold only one shrouded private key.
- Version:
- "$Id: PKCS8ShroudedKeyBag.java,v 1.4 2005/03/22 14:07:41 flautens
Exp $"
- Author:
- Michele Boivin
- See Also:
- Serialized Form
|
Field Summary |
protected static int[] |
OID_
The OID of this structure. |
|
Constructor Summary |
PKCS8ShroudedKeyBag()
This method constructs a keybag with an EncryptedPrivateKeyInfo as it's
contents. |
| 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 |
OID_
protected static final int[] OID_
- The OID of this structure. PrivateKeyInfo.
PKCS8ShroudedKeyBag
public PKCS8ShroudedKeyBag()
- This method constructs a keybag with an EncryptedPrivateKeyInfo as it's
contents.
getOID
public ASN1ObjectIdentifier getOID()
- Description copied from interface:
ASN1RegisteredType
- This method returns the official OID that identifies this ASN.1 type.
- Specified by:
getOID in interface ASN1RegisteredType
- Returns:
- the OID for this bag type.
Copyright © Fraunhofer Gesellschaft. All Rights Reserved.