Package org.bouncycastle.its
Class ETSISignedData
java.lang.Object
org.bouncycastle.its.ETSISignedData
-
Constructor Summary
ConstructorDescriptionETSISignedData
(byte[] oerEncoded) ETSISignedData
(org.bouncycastle.oer.its.etsi103097.EtsiTs103097DataSigned etsiTs103097Data_signed) ETSISignedData
(org.bouncycastle.oer.its.ieee1609dot2.Opaque opaque) ETSISignedData
(org.bouncycastle.oer.its.ieee1609dot2.SignedData signedData) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
org.bouncycastle.oer.its.ieee1609dot2.SignedData
boolean
signatureValid
(ITSContentVerifierProvider verifierProvider) Verify signature is valid with respect to the supplied public key.
-
Constructor Details
-
ETSISignedData
- Throws:
IOException
-
ETSISignedData
- Throws:
IOException
-
ETSISignedData
- Throws:
IOException
-
ETSISignedData
public ETSISignedData(org.bouncycastle.oer.its.etsi103097.EtsiTs103097DataSigned etsiTs103097Data_signed) -
ETSISignedData
public ETSISignedData(org.bouncycastle.oer.its.ieee1609dot2.SignedData signedData)
-
-
Method Details
-
signatureValid
Verify signature is valid with respect to the supplied public key. Contextual verification, ie "is this SignedData what you are expecting?" type checking needs to be done by the caller.- Returns:
- true if the signature was valid.
- Throws:
Exception
-
getEncoded
public byte[] getEncoded() -
getSignedData
public org.bouncycastle.oer.its.ieee1609dot2.SignedData getSignedData()
-