| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final byte[] | |
| private final byte[] |
| Access | Constructor and Description |
|---|---|
| public | DOMPGPData(byte[]
a PGP Key Material Packet as defined in section 5.5 of
RFC 2440. The
array is cloned to prevent subsequent modification. keyPacket, List<? extends XMLStructure> a list of other)XMLStructures representing elements from
an external namespace. The list is defensively copied to prevent
subsequent modification. May be null or empty.Creates a |
| public | DOMPGPData(byte[]
a PGP public key id as defined in section 11.2 of
RFC 2440. The
array is cloned to prevent subsequent modification. keyId, byte[] a PGP Key Material Packet as defined in section 5.5 of
RFC 2440 (may
be keyPacket, List<? extends XMLStructure> null). The array is cloned to prevent subsequent
modification.a list of other)XMLStructures representing elements from
an external namespace. The list is defensively copied to prevent
subsequent modification. May be null or empty.Creates a |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | checkKeyPacket(byte[] keyPacket)
We assume packets use the new format packet syntax, as specified in section 4 of RFC 2440. |
| public List | getExternalElements()
Implements javax. Returns an |
| public byte[] | getKeyId()
Implements javax. Returns the PGP public key identifier of this |
| public byte[] | getKeyPacket()
Implements javax. Returns the PGP key material packet of this |
| public void | marshal(Node parent, String dsPrefix, DOMCryptoContext context)
Implements abstract org.
|
| externalElements | back to summary |
|---|---|
| private final List<XMLStructure> externalElements | |
| keyId | back to summary |
|---|---|
| private final byte[] keyId | |
| keyPacket | back to summary |
|---|---|
| private final byte[] keyPacket | |
| DOMPGPData | back to summary |
|---|---|
| public DOMPGPData(byte[] keyPacket, List<? extends XMLStructure> other) Creates a
| |
| DOMPGPData | back to summary |
|---|---|
| public DOMPGPData(byte[] keyId, byte[] keyPacket, List<? extends XMLStructure> other) Creates a
| |
| DOMPGPData | back to summary |
|---|---|
| public DOMPGPData(Element pdElem) throws MarshalException Creates a
| |
| checkKeyPacket | back to summary |
|---|---|
| private void checkKeyPacket(byte[] keyPacket) We assume packets use the new format packet syntax, as specified in section 4 of RFC 2440. This method only checks if the packet contains a valid tag. The contents of the packet should be checked by the application. | |
| getExternalElements | back to summary |
|---|---|
| public List Implements javax. Doc from javax. Returns an
| |
| getKeyId | back to summary |
|---|---|
| public byte[] getKeyId() Implements javax. Doc from javax. Returns the PGP public key identifier of this
| |
| getKeyPacket | back to summary |
|---|---|
| public byte[] getKeyPacket() Implements javax. Doc from javax. Returns the PGP key material packet of this
| |
| marshal | back to summary |
|---|---|
| public void marshal(Node parent, String dsPrefix, DOMCryptoContext context) throws MarshalException Implements abstract org.
| |