Giter VIP home page Giter VIP logo

certificate's People

Contributors

kelunik avatar marmelatze avatar nicolas-grekas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

certificate's Issues

PEM <-> DER conversion support for other keys in addition to certificates

Cont. from https://github.com/Ayesh/acme-client/commit/5541a2927f59c6a33bad387992f19af61669b7a9#commitcomment-21383572

Can we make Certificate::pemToDer and Certificate::derToPem methods support public keys, private keys, PGP keys, certificate requests, etc please?

The derToPem method can be a bit troublesome to work because we need to know the correct footer and header, but stripping out them to convert to DER format should be pretty easy.

AFAIK, the headers always follow the pattern BEGIN $something where we have CERTIFICATE, PUBLIC KEY, PRIVATE KEY, and CERTIFICATE REQUEST. If supporting all types is not a good idea, perhaps we can expose additional arguments to \Kelunik\Acme\KeyPair::getPrivate and \Kelunik\Acme\KeyPair::getPublic to specify the desired format (currently returning PEM).

Thanks Niklas. I'm available to lend a hand if possible :)

Feature: full details

Hi! Good package!

But I can't get full details about subject because hardcoded only 3 values

isset($this->info["subject"]["CN"]) ? $this->info["subject"]["CN"] : null,
isset($this->info["subject"]["O"]) ? $this->info["subject"]["O"] : null,
isset($this->info["subject"]["C"]) ? $this->info["subject"]["C"] : null

It will be very cool to be able to receive all data including oid.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.