Help for this page

Select Code to Download


  1. or download this
    SubjectPublicKeyInfo    ::=     SEQUENCE {
           algorithm       AlgorithmIdentifier,
           subjectPublicKey        BIT STRING
    }
    
  2. or download this
    $asn->prepare(q<
        str BIT STRING
    ...
    $asn->encode(str => "UU");
    # Method2: length is explicit
    $asn->encode(str => ["UU", 12]);