Bouncy Castle Cryptography 1.27

org.bouncycastle.bcpg
Class PublicSubkeyPacket

java.lang.Object
  |
  +--org.bouncycastle.bcpg.Packet
        |
        +--org.bouncycastle.bcpg.ContainedPacket
              |
              +--org.bouncycastle.bcpg.PublicKeyPacket
                    |
                    +--org.bouncycastle.bcpg.PublicSubkeyPacket

public class PublicSubkeyPacket
extends PublicKeyPacket

basic packet for a PGP public key


Constructor Summary
PublicSubkeyPacket(int algorithm, java.util.Date time, BCPGKey key)
          Construct version 4 public key packet.
 
Method Summary
 void encode(BCPGOutputStream out)
           
 
Methods inherited from class org.bouncycastle.bcpg.PublicKeyPacket
getAlgorithm, getEncodedContents, getKey, getTime, getValidDays, getVersion
 
Methods inherited from class org.bouncycastle.bcpg.ContainedPacket
getEncoded
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PublicSubkeyPacket

public PublicSubkeyPacket(int algorithm,
                          java.util.Date time,
                          BCPGKey key)
Construct version 4 public key packet.
Parameters:
algorithm -  
time -  
key -  
Method Detail

encode

public void encode(BCPGOutputStream out)
            throws java.io.IOException
Overrides:
encode in class PublicKeyPacket

Bouncy Castle Cryptography 1.27