Class Signed


  • final class Signed
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Signed​(byte[] toBeSigned, X509Bundle signer)  
      Signed​(byte[] toBeSigned, java.lang.String algorithmIdentifier, java.security.PrivateKey privateKey)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) byte[] getEncoded​(java.security.Provider provider)  
      (package private) java.io.InputStream toInputStream​(java.security.Provider provider)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • toBeSigned

        private final byte[] toBeSigned
      • algorithmIdentifier

        private final java.lang.String algorithmIdentifier
      • privateKey

        private final java.security.PrivateKey privateKey
    • Constructor Detail

      • Signed

        Signed​(byte[] toBeSigned,
               X509Bundle signer)
      • Signed

        Signed​(byte[] toBeSigned,
               java.lang.String algorithmIdentifier,
               java.security.PrivateKey privateKey)
    • Method Detail

      • getEncoded

        byte[] getEncoded​(java.security.Provider provider)
                   throws java.security.NoSuchAlgorithmException,
                          java.security.InvalidKeyException,
                          java.security.SignatureException
        Throws:
        java.security.NoSuchAlgorithmException
        java.security.InvalidKeyException
        java.security.SignatureException
      • toInputStream

        java.io.InputStream toInputStream​(java.security.Provider provider)
                                   throws java.security.NoSuchAlgorithmException,
                                          java.security.SignatureException,
                                          java.security.InvalidKeyException
        Throws:
        java.security.NoSuchAlgorithmException
        java.security.SignatureException
        java.security.InvalidKeyException