Class BcDSAContentVerifierProviderBuilder

    • Method Detail

      • extractKeyParameters

        protected org.bouncycastle.crypto.params.AsymmetricKeyParameter extractKeyParameters​(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo)
                                                                                      throws java.io.IOException
        Description copied from class: BcContentVerifierProviderBuilder
        Extract an AsymmetricKeyParameter from the passed in SubjectPublicKeyInfo structure.
        Specified by:
        extractKeyParameters in class BcContentVerifierProviderBuilder
        Parameters:
        publicKeyInfo - a publicKeyInfo structure describing the public key required.
        Returns:
        an AsymmetricKeyParameter object containing the appropriate public key.
        Throws:
        java.io.IOException - if the publicKeyInfo data cannot be parsed,