Class DOMKeyValue.RSA
- java.lang.Object
-
- org.apache.jcp.xml.dsig.internal.dom.DOMStructure
-
- org.apache.jcp.xml.dsig.internal.dom.DOMKeyValue<java.security.interfaces.RSAPublicKey>
-
- org.apache.jcp.xml.dsig.internal.dom.DOMKeyValue.RSA
-
- All Implemented Interfaces:
javax.xml.crypto.dsig.keyinfo.KeyValue
,javax.xml.crypto.XMLStructure
- Enclosing class:
- DOMKeyValue<K extends java.security.PublicKey>
static final class DOMKeyValue.RSA extends DOMKeyValue<java.security.interfaces.RSAPublicKey>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.jcp.xml.dsig.internal.dom.DOMKeyValue
DOMKeyValue.DSA, DOMKeyValue.EC, DOMKeyValue.RSA, DOMKeyValue.Unknown
-
-
Field Summary
Fields Modifier and Type Field Description private DOMCryptoBinary
exponent
private DOMCryptoBinary
modulus
private java.security.KeyFactory
rsakf
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
marshalPublicKey(org.w3c.dom.Node parent, org.w3c.dom.Document doc, java.lang.String dsPrefix, javax.xml.crypto.dom.DOMCryptoContext context)
(package private) java.security.interfaces.RSAPublicKey
unmarshalKeyValue(org.w3c.dom.Element kvtElem)
-
Methods inherited from class org.apache.jcp.xml.dsig.internal.dom.DOMKeyValue
decode, equals, getPublicKey, hashCode, marshal, unmarshal
-
Methods inherited from class org.apache.jcp.xml.dsig.internal.dom.DOMStructure
isFeatureSupported
-
-
-
-
Field Detail
-
modulus
private DOMCryptoBinary modulus
-
exponent
private DOMCryptoBinary exponent
-
rsakf
private java.security.KeyFactory rsakf
-
-
Method Detail
-
marshalPublicKey
void marshalPublicKey(org.w3c.dom.Node parent, org.w3c.dom.Document doc, java.lang.String dsPrefix, javax.xml.crypto.dom.DOMCryptoContext context) throws javax.xml.crypto.MarshalException
- Specified by:
marshalPublicKey
in classDOMKeyValue<java.security.interfaces.RSAPublicKey>
- Throws:
javax.xml.crypto.MarshalException
-
unmarshalKeyValue
java.security.interfaces.RSAPublicKey unmarshalKeyValue(org.w3c.dom.Element kvtElem) throws javax.xml.crypto.MarshalException
- Specified by:
unmarshalKeyValue
in classDOMKeyValue<java.security.interfaces.RSAPublicKey>
- Throws:
javax.xml.crypto.MarshalException
-
-