PHPASN1
PHPASN1 copied to clipboard
A PHP library to encode and decode arbitrary ASN.1 structures using ITU-T X.690 encoding rules.
I have a live examples. Both correct (working at another script), but one will not be decoded while ASNObject::fromBinary, I get only this: FG\ASN1\Universal\Sequence Object ( [children:protected] => Array (...
This PR is an attempt to fix the Coveralls integration. Naturally I was not able to test it, but it looks good based on my understanding of the documentation. Fingers...
Hi, when running the test suite on 32bit systems (I tested on ARM & x86), tests fail with ``` There were 2 errors: 1) FG\Test\ASN1\Universal\BitStringTest::testContent TypeError: dechex(): Argument #1 ($num)...
Thanks for the great library, it has helped me understand a lot more of ASN1, I have a question, might be simply that the problem exists with me, but I...
I have looked at your implementation of Object Identifiers and found out that there is following problem: The [modulo-40 code](https://github.com/fgrosse/PHPASN1/blob/master/lib/ASN1/Universal/ObjectIdentifier.php#L93) is not correct, since it does not support the case...
I can't remove(detach) last [1] (which is "**[1] => FG\ASN1\ExplicitlyTaggedObject Object**" ) how can I do this ? This file is too large, I can't make a new one... ```...
The Basic Encoding Rules (BER) describe a indefinite form for the length of an object. this might be useful for handling data streams later. See ITU-T X690 section 8.1.3.3
I need to get a OID content fom Subject alternative name (SAN), OID value: 2.16.76.1.3.3 CNPJ from brasilian certificates. By the ASN1 class i got only this Octet string :...