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.
 
Fields inherited from class codec.pkcs8.EncryptedPrivateKeyInfo
algorithm_, DEFAULT_ITERATIONCOUNT, DEFAULT_PBE, DEFAULT_SALT, encryptedData_, pbeParamSpec_, random_
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
PKCS8ShroudedKeyBag()
          This method constructs a keybag with an EncryptedPrivateKeyInfo as it's contents.
 
Method Summary
 ASN1ObjectIdentifier getOID()
          This method returns the official OID that identifies this ASN.1 type.
 
Methods inherited from class codec.pkcs8.EncryptedPrivateKeyInfo
getPrivateKey, setPrivateKey, setPrivateKey
 
Methods inherited from class codec.asn1.ASN1Sequence
getTag
 
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 class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, remove, removeAll, retainAll
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
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
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList
 

Field Detail

OID_

protected static final int[] OID_
The OID of this structure. PrivateKeyInfo.
Constructor Detail

PKCS8ShroudedKeyBag

public PKCS8ShroudedKeyBag()
This method constructs a keybag with an EncryptedPrivateKeyInfo as it's contents.
Method Detail

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.