Bouncy Castle Cryptography 1.71

org.bouncycastle.bcpg
Class UserIDPacket

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

public class UserIDPacket
extends ContainedPacket

Basic type for a user ID packet.


Constructor Summary
UserIDPacket(BCPGInputStream in)
           
UserIDPacket(byte[] rawID)
           
UserIDPacket(java.lang.String id)
           
 
Method Summary
 void encode(BCPGOutputStream out)
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getID()
           
 byte[] getRawID()
           
 int hashCode()
           
 
Methods inherited from class org.bouncycastle.bcpg.ContainedPacket
getEncoded
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserIDPacket

public UserIDPacket(BCPGInputStream in)
             throws java.io.IOException

UserIDPacket

public UserIDPacket(java.lang.String id)

UserIDPacket

public UserIDPacket(byte[] rawID)
Method Detail

getID

public java.lang.String getID()

getRawID

public byte[] getRawID()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

encode

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

Bouncy Castle Cryptography 1.71