protected virtual DerBitString CorruptSignature(DerBitString bs) { return(new DerBitString(CorruptBit(bs.GetOctets()))); }
public byte[] GetSignatureOctets() { return signatureValue.GetOctets(); }
/// <summary>For when the public key is an ASN.1 encoding.</summary> public virtual Asn1Object ParsePublicKey() { return(publicKey == null ? null : Asn1Object.FromByteArray(publicKey.GetOctets())); }
public byte[] GetSignatureOctets() { return(sig.GetOctets()); }
/** * for when the public key is an encoded object - if the bitstring * can't be decoded this routine raises an IOException. * * @exception IOException - if the bit string doesn't represent a Der * encoded object. */ public Asn1Object GetPublicKey() { return(Asn1Object.FromByteArray(keyData.GetOctets())); }